package DBComm;
// ReturnCodes.java
// A class consisting of static return codes and nothing else
// ex: return ReturnCodes.SUCCESS

public class ReturnCodes
{
	// general / server response code(s)
	public static int SERVER_ERROR = 0;
	public static int SUCCESS = 1;
	
	// specific login response code(s)
	public static int BAD_PASSWORD = 2;
	public static int INVALID_LOGIN = 3;
	
	// specific buddy list response code(s)
	public static int BUDDY_DOES_NOT_EXIST = 4;
	public static int FAILED_TO_ADD_BUDDY = 5;
	public static int FAILED_TO_DELETE_BUDDY = 6;
	
	// specific duplication response code(s)
	public static int EVENT_EXISTS_ALREADY = 7;
}
